KDE/Upgrade

出自openSUSE

< KDE

目錄


升級 openSUSE 11.1 到 KDE 4.3.1

Note: This is an unsupported upgrade to Factory packages under development for openSUSE 11.2.

事前工作

加入 KDE Factory 套件庫和設定優先。移除任何發生衝突的 KDE 版本 (KDE:42、KDE:KDE4:STABLE:Desktop、KDE:KDE4:UNSTABLE:Desktop)!

zypper ar http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.1/ kde-desktop
zypper mr -r -p 10 kde-desktop

如果你還沒有啟用線上發布套件庫,現在就這樣做。新的套件包會依賴不屬於11.1 CD/DVD 的套件:

zypper mr -e repo-oss

If you get a conflict in the upgrade step or if want to use/keep using the KDE3 versions of eg Amarok, Konversation or K3b (now renamed to kde3-<foo>) you need to add the KDE:KDE3 Build Service repository.

zypper ar http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_11.1/ kde3
zypper mr -r -p 10 kde3

如果您有KDE:KDE4:Community,甚至是KDE:KDE4:Playground 套件庫,更新他們的網址為(最簡單的方式是編輯 /etc/zypp/repos.d/* 檔案):

http://download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.1_KDE4_Factory_Desktop/  (社群打包套件,不包含在發行版中)
http://download.opensuse.org/repositories/KDE:/KDE4:/Playground/openSUSE_11.1_KDE4_Factory_Desktop/ (development snapshots/releases!)

升級

現在執行 zypper 發行版更新指令

zypper dup

它會從所有加入套件庫更新所有的套件,允許更容易升級許多套件包,例如禁用供應商改變衝突的警告。

如果你要更新執行中的桌面,別忘了升級後重新登錄 KDE!:-)

Troubleshooting

If your desktop layout is broken after the upgrade you can reset it by running this command in Konsole:

kquitapp plasma-desktop && rm ~/.kde4/share/config/plasma-desktop* && plasma-desktop &

If you want to install a KDE4 package (eg kgpg) but a KDE3 package (like kdeutils3) is triggered to install try:

zypper in -n <foo>

另見